package com.woniuxy.exam.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.woniuxy.exam.mapper.BlankFillingMapper;
import com.woniuxy.commons.entity.BlankFilling;
import com.woniuxy.exam.service.BlankFillingService;

import java.util.List;

/**
@author zouyang
@date 2020/7/25 - 16:45
*/
@Service
public class BlankFillingServiceImpl implements BlankFillingService{

    @Resource
    private BlankFillingMapper blankFillingMapper;

    @Override
    public List<BlankFilling> selectAll() {
        return blankFillingMapper.selectAll();
    }

    @Override
    public int insertList(List<BlankFilling> list) {
        return blankFillingMapper.insertList(list);
    }

    @Override
    public List<BlankFilling> selectByAll(BlankFilling blankFilling) {
        return blankFillingMapper.selectByAll(blankFilling);
    }

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return blankFillingMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(BlankFilling record) {
        return blankFillingMapper.insert(record);
    }

    @Override
    public int insertSelective(BlankFilling record) {
        return blankFillingMapper.insertSelective(record);
    }

    @Override
    public BlankFilling selectByPrimaryKey(Integer id) {
        return blankFillingMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(BlankFilling record) {
        return blankFillingMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(BlankFilling record) {
        return blankFillingMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Integer> selectIdByBankId(Integer bankId) {
        return blankFillingMapper.selectIdByBankId(bankId);
    }

}
